package com.wanmait.recruit.service;

import com.wanmait.recruit.controller.CompanyController;
import com.wanmait.recruit.pojo.Company;
import com.wanmait.recruit.pojo.CompanyHr;
import com.wanmait.recruit.pojo.Person;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


public interface CompanyHrService extends CommonService<CompanyHr> {

    CompanyHr findByPerson(Person person);
    List<Person> findByCompany(Company company);
    void updateHrByPersonId(Integer id);
}
